package com.lonely.purchase.domain.dto.materialpurchase;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 回料请求实体
 *
 * @author fzzf
 */
@Data
public class RecycledMaterialsDTO implements Serializable {

    /**
     * 主键id
     */
    @NotNull(message = "id不能为空")
    private Long id;

    /**
     * 回料价
     */
    @NotBlank(message = "回料价不能为空")
    private String recycledMaterialsPrice;

    /**
     * 回料量
     */
    @NotBlank(message = "回料量不能为空")
    private String recycledMaterialsVolume;

    /**
     * 供应商名称
     */
    private String supplierName;
}
